// 最大的容器
.warp{
    width: 100%;
}

.navbar{
    border-radius: 0;
}

.header{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10;
    // padding: 1em 0 0;
    .navbar{
        margin-bottom: 0;
        .navbar-brand{
            color: #fff;
            font-family: OSBold;
        }

        
        .navbar-nav{
            
            a{
                color: #000;
                // & 当前父级
                border-bottom: 3px solid transparent;
                // 把字母变成大写
                text-transform: uppercase;
                &:hover{
                    border-bottom: 3px solid #fcac45;
                    
                }
            }
            
        }
    }

    .navbar-inverse{
        background-color: transparent;
        border: none;
        .navbar-toggle{
            border-color: transparent;
            &:hover{
                background-color: transparent;
            }
        }
    }
}


// 防止平板时导航会出现样式乱掉
@media screen and (max-width: 1024px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}